.log-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.log-list {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
}

.log-item {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    width: 100%;
    padding: 8px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 4px 0;
    border-radius: 4px;
}

.log-time {
    min-width: 60px;
    margin-right: 10px;
    color: #888;
    flex-shrink: 0;
}

.log-level {
    min-width: 60px;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.log-message {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.log-exception {
    color: #d9534f;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 日志级别背景颜色样式 */
.log-item.log-trace {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    color: #6c757d;
}

.log-item.log-debug {
    background-color: #e3f2fd;
    border-left: 4px solid #17a2b8;
    color: #17a2b8;
}

.log-item.log-information {
    background-color: #e8f5e8;
    border-left: 4px solid #28a745;
    color: #28a745;
}

.log-item.log-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.log-item.log-error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.log-item.log-critical {
    background-color: #f5c6cb;
    border-left: 4px solid #dc3545;
    color: #721c24;
    font-weight: bold;
}
    
.floating-clear-btn {
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-clear-btn:hover {
    opacity: 1;
}

.btn-circle {
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.btn-circle:hover {
    opacity: 1 !important;
}

.btn-circle i {
    font-size: 18px;
}